package com.sparrow.manage.common.entity;

import java.util.List;

public class PageInfo<E> {

    private int code;   // 数据状态

    private String msg; // 状态信息

    private int count;  // 总数

    private List<E> data;   // 数据

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<E> getData() {
        return data;
    }

    public void setData(List<E> data) {
        this.data = data;
    }
}
